Save a meeting transcript record to the owner's personal vault ("Save transcript to vault").
curl --request POST \
--url https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault"
headers = {"x-access-token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"uploadId": "<string>",
"url": "<string>",
"filename": "<string>",
"originalname": "Meeting transcript - Weekly sync - 2026-09-01.md",
"collection": "<string>",
"collectionName": "Meeting Transcripts",
"status": "inactive",
"existing": false,
"queued": true
}
}User
Save a meeting transcript record to the owner's personal vault ("Save transcript to vault").
For a type:'meeting' History row (the live-built, speaker-attributed
Zoom/Meet/Teams transcript — spec
docs/specs/2026-08-25-meeting-transcript-history-record-SPEC-AND-PLAN.md),
serializes the canonical transcript to markdown
(routes/logic/meetingTranscript.formatMeetingTranscript — byte-identical
to what the UI “Copy” action emits), writes it into the caller’s
personal vault under a “Meeting Transcripts” collection, creates the
upload row (text/markdown, is_private:false, personal — no
institution) and enqueues normal RAG ingestion so the transcript becomes
searchable knowledge.
- Owner only:
History.user === req.user._id; other rows answer 404 (no existence oracle). Admin entitlement does not unlock another user’s transcript into this vault. - Server-authored: the request body carries no content; the server serializes the record.
- Idempotent:
meeting.vaultUploadis the key — a repeat returns the existing upload (200,existing:true). A trashed/deleted upload lets a fresh save through. - The upload deliberately carries no
historybacklink, so ingestion cost is filed as a standalonetype:'ingestion'row and never mutates the meeting record’scredits(a mirror ofmeeting.billing.creditsBilled).
POST
/
api
/
user
/
history
/
{id}
/
meeting-transcript
/
vault
Save a meeting transcript record to the owner's personal vault ("Save transcript to vault").
curl --request POST \
--url https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault"
headers = {"x-access-token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/history/{id}/meeting-transcript/vault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"uploadId": "<string>",
"url": "<string>",
"filename": "<string>",
"originalname": "Meeting transcript - Weekly sync - 2026-09-01.md",
"collection": "<string>",
"collectionName": "Meeting Transcripts",
"status": "inactive",
"existing": false,
"queued": true
}
}Was this page helpful?